from typing import Optional

from fastadmin.widgets import Widget


class Input(Widget):
    """
    Parent class for all input widgets
    """

    def __init__(self, help_text: Optional[str] = None):
        super().__init__(help_text=help_text)


class DisplayOnly(Input):
    """
    Only display without showing in edit
    """


class Select(Input):
    """
    Select widget
    """
